/**
* @file tuya_device.h
* @author www.tuya.com
* @brief  demo for SDK WiFi & BLE for BK7231N, hardware: BK7231N NANO SoC board
* @version 0.1
* @date 2021-08-12
*
* @copyright Copyright (c) tuya.inc 2021
*
*/

#ifndef _TUYA_DEVICE_H
#define _TUYA_DEVICE_H

#include "tuya_cloud_types.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifdef _TUYA_DEVICE_GLOBAL
#define _TUYA_DEVICE_EXT
#else
#define _TUYA_DEVICE_EXT extern
#endif

/***********************************************************
*************************micro define***********************
***********************************************************/
#define FIRMWARE_KEY "u8om0z8xjoazy904"

/***********************************************************
*************************function define********************
***********************************************************/
/**
* @brief pre_device_init
*
* @param[in] none
* @return none
*/
_TUYA_DEVICE_EXT
VOID pre_device_init(VOID);

/**
* @brief device_init
*
* @param[in] none
* @return none
*/
_TUYA_DEVICE_EXT
OPERATE_RET device_init(VOID);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif
